﻿#ifndef COLLECTIONCONTENT_H
#define COLLECTIONCONTENT_H

#include <QWidget>
#include "globalvars.h"

namespace Ui {
class CollectionContent;
}

class CollectionContent : public QWidget
{
    Q_OBJECT
signals:
    void signalGainHotelDetails(const QString &);
    void signalDeleteSaveHotel(const QString &);

public:
    explicit CollectionContent(QWidget *parent = nullptr);
    ~CollectionContent();

    void setWindowShow();
    void setImage(const QImage& image);
    QString getSaveId();

private slots:
    void on_pb_delete_clicked();
    void on_pb_hotelName_clicked();

private:
    Ui::CollectionContent *ui;

    SaveInfo m_saveInfo;
};

#endif // COLLECTIONCONTENT_H
